Skip to content

ci: skip the public-API gate on docs/site-only changes#34

Merged
mibrahimdev merged 1 commit into
mainfrom
ci/skip-api-check-on-docs
Jun 16, 2026
Merged

ci: skip the public-API gate on docs/site-only changes#34
mibrahimdev merged 1 commit into
mainfrom
ci/skip-api-check-on-docs

Conversation

@mibrahimdev

Copy link
Copy Markdown
Owner

api-check.yml ran on every PR — including pure docs/markdown changes (like the Code of Conduct in #33) that cannot alter the Kotlin public-API surface. The two jobs (api-check on macOS, api-parity on ubuntu) only diff the committed *.api / *.klib.api dumps; they never run library code, so a .md edit can't affect their result.

This adds the same paths-ignore filter build.yml already uses, so docs/site-only PRs skip the API gate too — consistent with the existing docs-skip policy (#31).

Why it's safe: main is unprotected, so there's no required status check that a path-filtered skip could leave permanently "pending" (the usual paths-ignore gotcha on required checks doesn't apply here).

Scope unchanged for real changes: any PR that also touches code/build files still runs the full gate. workflow_dispatch stays unfiltered for manual runs.

🤖 Generated with Claude Code

api-check.yml ran on every PR, including pure markdown/docs changes that
cannot alter the Kotlin public-API surface (the jobs only diff the committed
*.api / *.klib.api dumps). Add the same paths-ignore filter build.yml already
uses so docs/site-only PRs skip both the api-check (macOS) and api-parity
jobs. A PR that also touches code/build files still runs the full gate.

Safe because main is unprotected: no required status check exists that a
path-filtered skip could leave permanently pending.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mibrahimdev mibrahimdev merged commit 4c8e486 into main Jun 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant